<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/11/6 0006
 * Time: 下午 6:37
 */

namespace app\api\tool;


class Pay
{
    /**
     * 支付签名函数，包含多种方式
     * @param $order_num
     * @param $sum_pay
     * @param int $business_type
     */
    public function sign($order_num,$sum_pay,$business_type=0){
        $param['order_num']=$order_num;
        $param['sum_pay']=$sum_pay;
        $param['business_type']=$business_type;
        $res=http_request_center('pay/pay/sign',$param);
        return $res;
    }
    
}